package co.edu.usbcali.dataaccess.dao;

import co.edu.usbcali.parcial3.FacturaPaga;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for FacturaPagaDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IFacturaPagaDAO {
    public void save(FacturaPaga instance);

    public void delete(FacturaPaga instance);

    public void update(FacturaPaga instance);

    public FacturaPaga findById(String id);

    public List<FacturaPaga> findByExample(FacturaPaga instance);

    public List<FacturaPaga> findByProperty(String propertyName, Object value);

    public List<FacturaPaga> findAll();

    public List<FacturaPaga> findByCriteria(String whereCondition);

    public List<FacturaPaga> findPageFacturaPaga(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberFacturaPaga();

    public List<FacturaPaga> findByFactPagCodigo(Object factPagCodigo);
    
    public List<FacturaPaga> getFacturaPagaCodigo(String codCompro);
}
